package com.eastfair.common.api;
import com.eastfair.core.base.R;
import com.eastfair.pay.dto.InvoiceDTO;
import com.eastfair.pay.vo.InvoiceVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient(value = "mice-pay/invoice")
public interface InvoiceFeign {
    @PostMapping("/queryInvoicecList")
     R<List<InvoiceVO>> queryInvoicecList( InvoiceDTO invoiceDTO);

    /**
     * 确认开票
     */
    @PostMapping("/saveInvoicecCnfirm")
     R saveInvoicecCnfirm(@RequestBody List<InvoiceDTO> invoiceDTO);
}
